let a;
let b;
let arr = [1];
a = b= arr[0];
arr[0]=2;
b=3;
console.log(a,b,arr);